ExamPlay Light Logo
Logg på

Computer Science for IGCSE & O level - Programming (Section 1 - No. 36)

What is the purpose of the `try...except` block in Python?
To define a function.
To handle potential errors and exceptions.
To create a loop.
To declare a variable.

Forklaring

try...except allows you to catch and handle errors.

Kommentarer (0)

Logg inn for å kommentere
Annonse
BrainBehindX Inc Logo
©2026; Drevet av BrainBehindX Inc